<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>顺丰物流单获取</title>
    <script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="js/welcome.js"></script>
</head>
<body>
<fieldset>
    <legend>Job操作</legend>
    <ul>
        <li>
            <a href="javascript:void(0)" onclick="Welcome.startJob()">启动</a>
        </li>
        <li>
            <a href="javascript:void(0)" onclick="Welcome.stopJob()">停止</a>
        </li>
        <li>
            <a href="javascript:void(0)" onclick="Welcome.statusJob()">状态</a>
        </li>
    </ul>
</fieldset>
<fieldset>
    <legend>Token操作</legend>
    <ul>
        <li>
            <div>
                <div><a href="javascript:void(0)" onclick="Welcome.serverToken()">查看服务端Token</a></div>
                <div>
                    <textarea id="txtServerTokenInfo" rows="5" cols="100"></textarea>
                </div>
            </div>
        </li>
        <li>
            <div>
                <div><a href="javascript:void(0)" onclick="Welcome.localToken()">查看本地Token</a></div>
                <div>
                    <textarea id="txtLocalTokenInfo" rows="5" cols="100"></textarea>
                </div>
            </div>
        </li>
        <li>
            <div>
                <div><a href="javascript:void(0)" onclick="Welcome.applyToken()">申请Token</a></div>
                <div>
                    <textarea id="txtApplyTokenInfo" rows="5" cols="100"></textarea>
                </div>
            </div>
        </li>
        <li>
            <div>
                <div><a href="javascript:void(0)" onclick="Welcome.refreshToken()">刷新Token</a></div>
                <div>
                    <textarea id="txtRefreshTokenInfo" rows="5" cols="100"></textarea>
                </div>
            </div>
        </li>
    </ul>
</fieldset>
<fieldset>
    <legend>电子面单图片</legend>
    <ul>
        <li>
            <div>
                订单编号： <input id="txtOrderNo" type="text"/>
                <a href="javascript:void(0)" onclick="Welcome.downloadPicture()">查看图片</a>
            </div>
        </li>
    </ul>
</fieldset>
<fieldset>
    <legend>订单操作</legend>
    <ul>
        <li>
            <div>
                <div><a href="javascript:void(0)" onclick="Welcome.createOrder()">创建订单</a></div>
                <div>
                    <textarea id="txtCreateOrderInfo" rows="5" cols="100"></textarea>
                </div>
            </div>
        </li>
        <li>
            <div>
                <div>
                    订单编号： <input id="txtQueryOrderNo" type="text"/>
                    <a href="javascript:void(0)" onclick="Welcome.queryOrder()">查询订单</a>
                </div>
                <div>
                    <textarea id="txtQueryOrderInfo" rows="5" cols="100"></textarea>
                </div>
            </div>
        </li>
    </ul>
</fieldset>
</body>
</html>
